package com.vmj.test.example;/**
 * Created by yangshoujun on 2018/3/5 下午2:33.
 */

/**
 * 功能描述:
 * <p/>
 * 创建人: yangshoujun
 * <p/>
 * 创建时间:  2018/3/5 下午2:33.
 * <p/>
 * Copyright (c) 深圳市牛鼎丰科技有限公司-版权所有
 */
public class Finally {

    public static void main(String[] args) throws Exception {

        int i = 100;
        try {
            if(true) {
                throw new RuntimeException();
            }
        } finally {
            i = 300;
        }
        i = 400;
        System.out.println(i);
    }
}
